import request from '@/utils/request'
//订货单列表
export function selectPrepurchaseList(data) {
    return request({
        url: '/smkapi/Prepurchase/selectPrepurchaseList',
        method: 'post',
        data
    })
}
//添加订货单
export function addPrepurchase(data) {
    return request({
        url: '/smkapi/Prepurchase/addPrepurchase',
        method: 'post',
        data
    })
}
//详情
export function getPrepurchaseGoods(data) {
    return request({
        url: '/smkapi/Prepurchase/getPrepurchaseGoods',
        method: 'post',
        data
    })
}
//删除
export function delPrepurchase(data) {
    return request({
        url: '/smkapi/Prepurchase/delPrepurchase',
        method: 'post',
        data
    })
}
//确认收货
export function verifyPrepurchase(data) {
    return request({
        url: '/smkapi/Prepurchase/verifyPrepurchase',
        method: 'post',
        data
    })
}
//编辑
export function editPrepurchase(data) {
    return request({
        url: '/smkapi/Prepurchase/editPrepurchase',
        method: 'post',
        data
    })
}
//修改图片
export function editAnnex(data) {
    return request({
        url: '/smkapi/Prepurchase/editAnnex',
        method: 'post',
        data
    })
}